_human = _this select 0;

_trg=createTrigger[ "EmptyDetector",(getPos _human)]; 
_trg setTriggerArea[50,50,0,false];
_trg setTriggerActivation["CIV","PRESENT",true];
_trg setTriggerStatements["this", "", ""]; 

_humanMarker=CreateMarker [ (format["%1",_human ]) , (getPos _human )];
_humanMarker setMarkerShape "ICON";
_humanMarker setMarkerType "DOT";
_humanMarker setMarkerColor "ColorGreen";   			
_humanMarker setMarkerPos (getPos _human );			

_civilState=[];

while { true } do
{		
	
	_markers=[];
	_humanMarker setMarkerPos (getPos _human );		
	_trg setPos (getPos _human);
	
	sleep 0.1;

	if( (count list _trg) > 0 ) then {

		{ // forEach civil found

			_civil = _x;

			//_civil GlobalChat (format["KnowAbout : %1", (_civil knowsAbout _human) ]);
			
			if( (_civil knowsAbout  _human) > 0.7) then {

				_civilState	= _civilState+[_civil,time]			

				_civMarker=createMarker [ (format["%1",_civil]) , (getPos _civil) ];
				_civMarker setMarkerShape "ICON";
				_civMarker setMarkerType "DOT";
				_civMarker setMarkerColor "ColorRed";   			
				_civMarker setMarkerPos (getPos _civil);					

				_markers=_markers+[_civMarker];

			};

		}forEach (list _trg);
	};

	sleep 0.5;
	

	{
		deleteMarker _x;
	}forEach _markers;
	

	
};


	
	

